*{
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}
body{
    background-color: #f3f5f7;
}
.w{
    width: 1200px;
    margin: 0px auto;
}
li{
    list-style: none;
}
a{
    text-decoration: none;
}
.header{
    height: 42px;
    /* 此地方会成叠w里面的margin */
    margin: 30px auto;
}
.logo{
    float: left;
    width: 198px;
    height: 42px;
    background-color: skyblue;
}
.nav{
    float: left;
    margin-left: 60px;
}
.nav ul li{
    float: left;
    margin: 0px 15px;
}
.nav li a{
    display: block;
    height: 42px;
    padding: 0px 10px;
    line-height: 42px;
    font-size: 18px;
    text-decoration: none;
    color: #050505;
}
.nav li a:hover{
    border-bottom: #00a4ff 2px solid;
    color: #00a4ff;
}
.search{
    float: left;
    width: 412px;
    height: 42px;
    margin-left: 70px;
}
.search input{
    float: left;
    width: 345px;
    height: 42px;
    border-right: none;
    border: 1px solid #00a4ff;
    color: #bfbfbf;
    font-size: 14px;
    padding-left: 15px;
}
.search button{
    float: left;
    width: 50px;
    height: 42px;
    border: none;
    background-color: skyblue;

}
.user{
    float: right;
    height: 42px;
    line-height: 42px;
    margin-right: 30px;
    font-size: 14px;
    color: #666;
}
.user div img{
    width: 30px;
    height: 30px;
    float: left;
    border-radius: 30px;
    cursor: pointer;
}
.user div img:hover{
    transform: rotate(-180deg);
    transition: all 0.2s;
}
.user div{
    float: left;
    height: 32px;
    width: 30px;
    padding-top: 6px;
}
.user span{
    float: left;
    margin-left: 10px;
}


/* banner区域 */
.banner{
    height:420px;
    background-color: #1c036c;
}
.swiper-container {
    width: 100%;
    height: 300px;
}  
.banner .w{
    height: 420px; 
    background: url() no-repeat top center;
}
.banner .image{
    width: 760px;
    float: left;
    margin-left: 10px;
    height: 300px;
    margin-top: 50px;
}
.banner .image img{
    width: 100%;
    height: 300px;
    border-radius: 5px;
}
.subnav{
    float: left;
    width: 190px;
    height: 420px; 
    background: rgba(0,0,0,0.3);
}
.subnav ul li{
    height: 45px;
    line-height: 45px;
    padding: 0px 20px;
}
.subnav ul li a{
    font-size: 14px;
    height: 45px;
    line-height: 45px;
    display: block;
    color: #fff ;
}
.subnav ul li a span{
    float: right;
}
.subnav ul li a:hover{
    color: #00a4ff;
}
.course{
    float: right;
    width: 230px;
    height: 300px;
    background:#fff;
    margin-top: 50px;
}
.course h2{
    height: 48px;
    background-color: #9bceea;
    text-align: center;
    line-height: 48px;
    font-size: 18px;
    color: #fff;
}
.course .buttom{
    padding: 0px 20px;
}
.course .buttom li{
    padding: 14px 0px;
    border-bottom: 1px solid #ccc; 
}
.course .buttom li:last-child{
    border-bottom: none; 
}
.course .buttom ul li h4{
    font-size:16px;
    color: #4e4e4e;
}
.course .buttom ul li p{
    font-size: 12px;
    color: #a5a5a5;
}
.course .qb{
    display: block;
    margin-top: 5px;
    height: 38px;
    border: #00a4ff solid 1px;
    text-align: center;
    line-height: 38px;
    color: #00a4ff;
    font-size: 16px;
    font-weight: 700;
}

/* 精品推荐模块 */
.goods{
    margin-top: 10px;
    height: 60px;
    background-color: #fff;
    box-shadow: 0px 2px 3px 3px rgba(0,0,0,0.1 );
    /* 行高会继承给里面 三个孩子 */
    line-height: 60px;
}
.goods h3{
    float: left;
    margin-left: 30px;
    color: #00a4ff;
    font-size: 16px;
}
.goods ul{
    float: left;
    margin-left: 30px;
}
.goods ul li{
    float:left;
}
.goods ul li a{
    padding: 0px 30px;
    font-size: 16px;
    color: #050505;
    border-left: 1px #ccc solid ;
}
.goods .mod{
    float: right;
    margin-right: 30px;
    color: #00a4ff;
    font-size: 16px ;
}

/* 核心内容 */
.box{
    margin-top: 30px;
    overflow: hidden;
}
.box .top{
    width: 100%;
    height: 45px;
    line-height: 45px;
    padding-right: 15px;
    box-sizing: border-box;
}
.box .top h3{
    float: left;
    font-size: 20px;
    color: #494949 ;  
}
.box .top a{
    float: right;
    font-size: 12px;
    color: #a5a5a5;
}
.box .bm ul{
    width: 1225px;
}
.box .bm ul li{
    float: left;
    margin-right: 15px;
    margin-bottom: 15px;
    width:228px;
    height:270px;
    background-color: #fff;
}
.box .bm ul li img{
    width: 100%;
    height: 150px;
}
.box .bm ul li h4{
    margin: 20px 20px 20px 25px;
    font-size: 14px;
    color: #050505;
    font-weight: 400;
}
.box .bm ul li .x{
    margin: 20px 20px 20px 25px;
    font-size: 12px;
    color: #999;

}
.box .bm ul li span {
    color: #ff7c2d;

}
/* 核心内容 */

/* 底部区域 */
.footer{
    background-color: pink;
    height: 415px;
}
.footer .w{
    padding-top: 35px;
}
.footer .w .x-left{
    float: left;
}
.footer .w .x-left p{
    font-size: 12px;
    color: #666 ;
    margin: 20px 0px 15px 0px ;
}
.footer .w .x-left img{
    width: 200px;
    height: 50px;
}
.footer .w .x-left a{
    display: block;
    width: 118px;
    height: 33px;
    border: 1px solid #00a4ff;
    color: #00a4ff;
    text-align: center;
    line-height: 33px;
    font-size: 16px;
}
.footer .w .x-right{
    float: right;
}
.x-right dl{
    float: left;
    margin-left: 100px;
}
.x-right dl dt{
    font-size: 16px;
    color: #333;
}
.x-right dl dd a{
    font-size: 12px;
    color: #333;
}
/* 底部区域 */

